gtkwindow: Ignore implicit grabs going away if there is no focus
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 1 Apr 2017 20:41:23 +0000 (22:41 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 May 2017 14:25:59 +0000 (16:25 +0200)
commit95bf1379c061c69c8bdd42f7d155a5f245e03b5a
tree8ae030161b55f5575a4a647bdd2dc9805c286a4c
parentb7fee9f9d2bb457781e92c73c73005a17a783e2c
gtkwindow: Ignore implicit grabs going away if there is no focus

There should be no circumstances where an implicit grab is requested but
no focus exists, there's however circumstances (like windowing grabs taking
input to a different window) where we might get implicit grabs being undone
when then new window didn't create a focus for the pointer itself.
gtk/gtkwindow.c